package com.boc.langxiang.contract.common;


import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.response.AddressListContent;
import com.boc.langxiang.entity.response.BaseResponse;
import com.boc.langxiang.presenter.BasePresenter;

/**
 * CreateTime: 2016-06-14上午10:29
 * Author: wjkjinke00@126.com
 * Description:
 */
public interface AddressManageContract {
    interface View extends BaseView {
        void onGetAddressSuccess(BaseResponse<AddressListContent> response);

        void showDeleteLoading();

        void onDeleteAddressSuccess();

        void setDefaultAddr(int id);

        void showSetDefaultLoading();

        void setDefaultAddressSuccess();
    }

    interface Presenter extends BasePresenter {
        void getAddressList();

        void deleteAddress(int addrId);

        void setDefaultAddress(int addrId);
    }
}
